styleLayerExists

abstract fun styleLayerExists(@NonNull() layerId: String): Boolean

Checks whether a given style layer exists.

Return

A `true` value if the given style layer exists, `false` otherwise.

Parameters

layerId

Style layer identifier.